import React from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import Auth from './components/Auth';
import SchoolManagement from './components/SchoolManagement';
// 导入类和学生管理组件

const App = () => (
    <Router>
        <Switch>
            <Route path="/auth" component={Auth} />
            <Route path="/schools" component={SchoolManagement} />
            {/* 这里可以添加班级和学生管理路由 */}
            <Route path="/classes" component={ClassManagement} /> 
            <Route path="/students" component={StudentManagement} />
        </Switch>
    </Router>
);

export default App;
